package com.fyx.config;

import org.springframework.boot.autoconfigure.mongo.MongoProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.data.mongodb")
public class MultipleMongoProperties {
    private MongoProperties primary = new MongoProperties();

    private MongoProperties secondary = new MongoProperties();

    private MongoProperties  tertiary = new MongoProperties();

    private MongoProperties  fourth = new MongoProperties();

    private MongoProperties  five = new MongoProperties();

    private MongoProperties  sixth = new MongoProperties();

    private MongoProperties  seventh = new MongoProperties();

    private MongoProperties  eighth = new MongoProperties();

    private MongoProperties  nineth = new MongoProperties();

    private MongoProperties  tenth = new MongoProperties();

    private MongoProperties  eleventh = new MongoProperties();

    public  MongoProperties getPrimary() {
        return primary;
    }

    public void setPrimary(MongoProperties primary) {
        this.primary = primary;
    }

    public MongoProperties getSecondary() {
        return secondary;
    }

    public void setSecondary(MongoProperties secondary) {
        this.secondary = secondary;
    }

    public  MongoProperties getTertiary() {
        return tertiary;
    }

    public void setTertiary(MongoProperties tertiary) {
        this.tertiary = tertiary;
    }

    public  MongoProperties getFourth() {
        return fourth;
    }

    public void setFourth(MongoProperties fourth) {
        this.fourth = fourth;
    }

    public  MongoProperties getFive() {
        return five;
    }

    public void setFive(MongoProperties five) {
        this.five = five;
    }

    public  MongoProperties getSixth() {
        return sixth;
    }

    public void setSixth(MongoProperties sixth) {
        this.sixth = sixth;
    }

    public  MongoProperties getSeventh() {
        return seventh;
    }

    public void setSeventh(MongoProperties seventh) {
        this.seventh = seventh;
    }

    public  MongoProperties getEighth() {
        return eighth;
    }

    public void setEighth(MongoProperties eighth) {
        this.eighth = eighth;
    }

    public  MongoProperties getNineth() {
        return nineth;
    }

    public void setNineth(MongoProperties nineth) {
        this.nineth = nineth;
    }

    public  MongoProperties getTenth() {
        return tenth;
    }

    public void setTenth(MongoProperties tenth) {
        this.tenth = tenth;
    }

    public  MongoProperties getEleventh() {
        return eleventh;
    }

    public void setEleventh(MongoProperties eleventh) {
        this.eleventh = eleventh;
    }
}
